#include "ControlsBase.h"
#include <string>
#include <iostream>
#include <windows.h>
#include <GL/GL.h>

void ControlRelatedError(std::string info)
{
	std::cout<<info<<std::endl;
}

NAMESPACE_HEAD(mk)
NAMESPACE_HEAD(controls)

void Control::Draw()
{	
	//std::cout<<"Control_"<<name<<" has no Draw Function."<<std::endl;
	glColor3f(1.0f, 0, 0);
	glBegin(GL_QUADS);
	glVertex2f(x,y);
	glVertex2f(x + width, y);
	glVertex2f(x + width, y + height);
	glVertex2f(x, y + height);
	glEnd();
}


NAMESPACE_END()
NAMESPACE_END()